<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean"%> 
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic"%>

 
 
<html> 
<head> 
<title></title> 
<meta http-equiv="Content-Type" content="text/html;"> 
<link href="${webpath}/Css/css.css" rel="stylesheet" type="text/css"> 
 <script type="text/javascript">
	<logic:notEmpty name="resultInfo" >
  		alert("${resultInfo}");
  	</logic:notEmpty>
</script>
<script language="javascript"> 
 
function todel()
{
	document.del.submit();
}
</script> 
</head> 
 
<body> 
<table width="700" border="0" align="center" cellpadding="0" cellspacing="0"> 
  <tr> 
    <td><img src="${webpath}/admin/images/bc1.jpg" width="200" height="50"></td> 
  </tr> 
</table> 
<table width="700" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC"> 
  <tr> 
    <td bgcolor="#FFFFFF"> 
<table width="100%" border="0" cellspacing="0" cellpadding="0"> 
       <form name="del" action="${webpath}/delList_liuyan.do" method="post" > 
       
          <logic:iterate id="one" name="list" >
           <tr> 
		   <td height="22" align="center"><input type="checkbox" name="del" value="${one.id }"> 
      </td> 
          <td height="22" class="font12" style=" BORDER-bottom: #cccccc 1px solid">&nbsp;&nbsp;<img src="${webpath}/admin/images/icon_pm.gif" width="12" height="16">&nbsp;<html:link page="/tohuifu_liuyan.do" paramId="id" paramName="one" paramProperty="id" >${one.title}</html:link>&nbsp; (<bean:write name="one" property="ltime" format="yyyy-MM-dd" />) 
            <logic:empty name="one" property="answerc" >
            	<font color='#00ccff'>→ 未回复</font>
            </logic:empty> 
            <logic:notEmpty name="one" property="answerc">
            	<font color='#ff0000'>→ 已回复</font>
            </logic:notEmpty>
          </td> 
        </tr> 
          </logic:iterate>
          
        </form> 
  <tr align="center"> <td colspan="2"> 
 <input type="button" name="zixun2" value="删  除" onClick="return todel()"> 
    </td> 
  </tr>		
      </table></td> 
  </tr> 
</table> 
<table width="700" border="0" align="center" cellpadding="0" cellspacing="0"> 
  <tr> 
    <td height="25" align="center"> 
    
    <logic:notEqual value="false" name="page" property="hasPreviousPage" >
      <A HREF="${webpath}/notice/list.do?pageIndex=1">首页</A> 
      <A HREF="${webpath}/list_liuyan.do?pageIndex=${searchForm.pageIndex-1 }">上一页</A> 
    </logic:notEqual>
    
    <logic:notEqual value="false" name="page" property="hasNextPage" >
		<A HREF="${webpath}/list_liuyan.do?pageIndex=${searchForm.pageCount }">尾页</A> 
      	<A HREF="${webpath}/list_liuyan.do?pageIndex=${searchForm.pageIndex+1 }">下一页</A> 
	</logic:notEqual>
       </td> 
  </tr> 
</table> 
</body> 
</html> 
